Skip to content

Conversation

@OttoAllmendinger
Copy link
Contributor

This PR includes two main changes to the abstract-utxo module:

  1. Migrating from utxolib to wasm-utxo address module:

    • Updates address functionality to use @bitgo/wasm-utxo address module
    • Adapts function signatures to work with CoinName instead of Network
    • Maintains compatibility with existing test cases
    • Reduces dependency on legacy utxolib code
  2. Refactoring chain determination to use coin name instead of deprecated
    direct network usage:

    • This approach is more consistent
    • Avoids accessing internal network objects directly

BTC-2916

OttoAllmendinger and others added 3 commits January 28, 2026 15:33
Replace usages of utxolib.address with wasmAddress throughout test files
for improved performance and consistency. This change:

- Updates address functionality to use @bitgo/wasm-utxo address module
- Adapts function signatures to work with CoinName instead of Network
- Maintains compatibility with existing test cases
- Reduces dependency on legacy utxolib code

Issue: BTC-2916

Co-authored-by: llm-git <llm-git@ttll.de>
Refactor chain determination to use coin name instead of deprecated
direct network usage. This approach is more consistent and avoids
accessing internal network objects directly.

Issue: BTC-2916

Co-authored-by: llm-git <llm-git@ttll.de>
Use wasm-utxo module's fixed script wallet functionality for address
generation. Convert types and chain codes to work with the wasm
implementation.

Issue: BTC-2916

Co-authored-by: llm-git <llm-git@ttll.de>
Simplify FixedScriptAddressCoinSpecific by removing redeem and witness
script fields, which are no longer needed with the WASM implementation.

Also update parameter type to use WalletKeysArg from wasm-utxo instead
of the deprecated bitgo.RootWalletKeys.

Issue: BTC-2916

Co-authored-by: llm-git <llm-git@ttll.de>
@OttoAllmendinger OttoAllmendinger marked this pull request as ready for review January 28, 2026 15:40
@OttoAllmendinger OttoAllmendinger requested a review from a team as a code owner January 28, 2026 15:40
@OttoAllmendinger OttoAllmendinger merged commit d0581f1 into master Jan 28, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants